home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group01b.txt
/
000111_icon-group-sender_Mon Jul 30 08:01:37 2001.msg
< prev
next >
Wrap
Internet Message Format
|
2002-01-03
|
1KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.11.1/8.11.1) id f6UF1Ws15473
for icon-group-addresses; Mon, 30 Jul 2001 08:01:32 -0700 (MST)
Message-Id: <200107301501.f6UF1Ws15473@baskerville.CS.Arizona.EDU>
From: Steve Wampler <swampler@noao.edu>
X-Newsgroups: comp.lang.icon
Subject: Re: Speed vs Space
Date: Mon, 30 Jul 2001 06:57:46 -0700
X-Complaints-To: abuse@noao.edu
To: Steve Graham <js.graham@home.com>
X-Accept-Language: en
To: icon-group@cs.arizona.edu
Errors-To: icon-group-errors@cs.arizona.edu
Status: RO
Content-Length: 518
Steve Graham wrote:
>
> I have an application where I need to reset a table. The only way
> I know is to redefine it, e.g. B := table(). Does this eliminate the
> previous reference? Is there a faster way and/or a better way in terms
> of memory usage?
That should work fine. If B previously held a table and there are no
other references to that table (you haven't done A := B, for example),
then the GC will reclaim the storage.
--
Steve Wampler- SOLIS Project, National Solar Observatory
swampler@noao.edu